package com.ph.irp.base.usermanage.dao;
import java.util.List;
public interface PBasePurviewUserroleDAO {
	public void addUserRole(int userID,int roleID)throws Throwable;
	public List<Integer>  getUserRoleByRoleId(String roleId)throws Throwable;
	
	public String  getUserRoleNameByRoleId(int roleId)throws Throwable;
	public void deleteUserRole(int roleId)throws Throwable;
	public void deleteUserRoleByRoleIDs(String deleteIds)throws Throwable;
	public void deleteUserRoleByUserIDs(String deleteIds)throws Throwable;
	public List<Integer> getUserRoleByUserId(String userId) throws Throwable;
}
